Package-level declarations

Types

Link copied to clipboard
data class TabItem(val label: String, val enabled: Boolean = true)

Represents a single tab in a TabList component.

Link copied to clipboard

Visual variant of a TabList.

Functions

Link copied to clipboard
fun tabItemsOf(vararg values: String): List<TabItem>

Returns a map of strings to TabItems.

Link copied to clipboard
fun TabList(tabs: List<TabItem>, selectedTab: TabItem, onTabSelected: (TabItem) -> Unit, modifier: Modifier = Modifier, variant: TabVariant = TabVariant.Line)

Tabs are used to organize related content. They allow the user to navigate between groups of information that appear within the same context.